package com.gec.domain;

import java.util.Date;

public class Employee {
	private Integer DEPT_ID;			// 部门
	private Integer JOB_ID;			// 职位

	private Integer id;			// id
	private String name;		// 名称
	private String CARD_ID;		// 身份证
	private String address;		// 地址
	private String POST_CODE;	// 邮政编码
	private String tel;			// 电话
	private String phone;		// 手机
	private String QQ_NUM;		// qq
	private String email;		// 邮箱
	private Integer sex;		// 性别
	private String party;		// 政治面貌
	
	private Date birthday;	//生日
	private String race;				// 名族
	private String education;			// 学历
	private String speciality;			// 专业
	private String hobby;				// 爱好
	private String remark;				// 备注
	private Date create_date;	// 建档日期

	private Dept dept;
	private Job job;
	// 无参数构造器
	public Employee() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Employee(String name,String CARD_ID, String education, String email, String phone, String tel,
					String party, String QQ_NUM, String address, String POST_CODE, Date birthday, String race,
					String speciality, String hobby, Integer sex,Integer DEPT_ID,Integer JOB_ID) {
		this.name = name;
		this.CARD_ID = CARD_ID;
		this.education = education;
		this.email = email;
		this.phone = phone;
		this.tel = tel;
		this.party = party;
		this.QQ_NUM = QQ_NUM;
		this.address = address;
		this.POST_CODE = POST_CODE;
		this.birthday = birthday;
		this.race = race;
		this.speciality = speciality;
		this.hobby = hobby;
		this.sex = sex;
		this.DEPT_ID=DEPT_ID;
		this.JOB_ID=JOB_ID;
	}
	// setter和getter方法
	public void setId(Integer id){
		this.id = id;
	}
	public Integer getId(){
		return this.id;
	}

	public int getDEPT_ID() {
		return DEPT_ID;
	}
	public void setDEPT_ID(int DEPT_ID) {
		this.DEPT_ID = DEPT_ID;
	}
	public int getJOB_ID() {
		return JOB_ID;
	}
	public void setJOB_ID(int JOB_ID) {
		this.JOB_ID = JOB_ID;
	}
	public void setName(String name){
		this.name = name;
	}
	public String getName(){
		return this.name;
	}
	public void setCARD_ID(String cardId){
		this.CARD_ID = cardId;
	}
	public String getCARD_ID(){
		return this.CARD_ID;
	}
	public void setAddress(String address){
		this.address = address;
	}
	public String getAddress(){
		return this.address;
	}
	public void setPOST_CODE(String POST_CODE){
		this.POST_CODE = POST_CODE;
	}
	public String getPostCode(){
		return this.POST_CODE;
	}
	public void setTel(String tel){
		this.tel = tel;
	}
	public String getTel(){
		return this.tel;
	}
	public void setPhone(String phone){
		this.phone = phone;
	}
	public String getPhone(){
		return this.phone;
	}
	public void setQQ_NUM(String QQ_NUM){
		this.QQ_NUM = QQ_NUM;
	}
	public String getQQ_NUM(){
		return this.QQ_NUM;
	}
	public void setEmail(String email){
		this.email = email;
	}
	public String getEmail(){
		return this.email;
	}
	public void setSex(Integer sex){
		this.sex = sex;
	}
	public Integer getSex(){
		return this.sex;
	}
	public void setParty(String party){
		this.party = party;
	}
	public String getParty(){
		return this.party;
	}
	public void setBirthday(Date birthday){
		this.birthday = birthday;
	}
	public Date getBirthday(){
		return this.birthday;
	}
	public void setRace(String race){
		this.race = race;
	}
	public String getRace(){
		return this.race;
	}
	public void setEducation(String education){
		this.education = education;
	}
	public String getEducation(){
		return this.education;
	}
	public void setSpeciality(String speciality){
		this.speciality = speciality;
	}
	public String getSpeciality(){
		return this.speciality;
	}
	public void setHobby(String hobby){
		this.hobby = hobby;
	}
	public String getHobby(){
		return this.hobby;
	}
	public void setRemark(String remark){
		this.remark = remark;
	}
	public String getRemark(){
		return this.remark;
	}
	public void setcreate_date(Date create_date){
		this.create_date = create_date;
	}
	public Date getcreate_date(){
		return this.create_date;
	}
	@Override
	public String toString() {
		return "Employee [id=" + id + ", DEPT_ID=" + DEPT_ID + ", JOB_ID=" + JOB_ID
				+ ", name=" + name + ", CARD_ID=" + CARD_ID + ", address="
				+ address + ", POST_CODE=" + POST_CODE + ", tel=" + tel
				+ ", phone=" + phone + ", QQ_NUM=" + QQ_NUM + ", email=" + email
				+ ", sex=" + sex + ", party=" + party + ", birthday="
				+ birthday + ", race=" + race + ", education=" + education
				+ ", speciality=" + speciality + 
				", hobby=" + hobby + ", remark=" + remark + ", create_date="
				+ create_date + "]";
	}

	public void setDEPT_ID(Integer DEPT_ID) {
		this.DEPT_ID = DEPT_ID;
	}

	public void setJOB_ID(Integer JOB_ID) {
		this.JOB_ID = JOB_ID;
	}

	public String getPOST_CODE() {
		return POST_CODE;
	}

	public Date getCreate_date() {
		return create_date;
	}

	public void setCreate_date(Date create_date) {
		this.create_date = create_date;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public Job getJob() {
		return job;
	}

	public void setJob(Job job) {
		this.job = job;
	}
}
